using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using MecRobGest.Database.Controllers;
using System.Data.OleDb;

namespace MecRobGest.GUI
{
    public partial class GUIProveedorCerca : Form
    {
        public GUIProveedorCerca()
        {
            InitializeComponent();
        }

        private void btnCerrar_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void GUIClientCerca_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dBDataset.Clients' table. You can move, or remove it, as needed.
            this.clientsTableAdapter.Fill(this.dBDataset.Clients);
            
        }

       

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }

        private void fiEdicio(object sender, DataGridViewCellEventArgs e)
        {

        }



        private void clientsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.clientsBindingSource.EndEdit();
            this.clientsTableAdapter.Update(this.dBDataset.Clients);

        }
    }
}